Added rspec and guard tests