Do better with generated test files

Generate test*.rs files right before compilation of tests