dynamic generation of tests + code coverage