added rspec and fixed clues model