changed the rspec tests to be more robus
debugged find method
refactored map method