Sorted out RSpec and Guard and implemented all the tests