started following rspec conventions by using individual files for each methods to test