SimpGen serialize tests; uses testname as filename

Really simple serialization of tests