moved tests to test package