move coverage call into test.sh