working on rspec tests

Change-Id: Iaa9231ae9b3f4d336b91022553bd0ca1c13b61ca