got server.rb test to pass and added test