Move feature spec methods into module