moved tests inside package as per pytest best practices doc