fix broken rspec behavior test