Adding spec for private_methods fix