automatically generate tests.jstd