refactored tests using spec_helper and let statements