move test implementation to different package