Generate test cases at runtime. Not fully working.