moved tests to test directory