moved unit tests to test package