rspec tests for Host.logout instance method