Added rspec tests for API class