move tests to package