Use spec for testing