split tests from code