Separate tests from code