move tests to a package