moved tests out of the package