move tests to separate file for nosetesting