fully passing rspec and jasmine suite