Enable coverage in test.sh and upload to codecov