added more rspec tests, refactored tests and static pages, added more gems