refactor spec to use let setup and specify syntax