Added rspec tests for cloud api bootstrap protocol