Moves test into package