Added some basic rspec tests and updated some GA API code