separate testfile

separate tests from the other code