Moving the google test to a different class