Fixes DataStore issue and adds rspec test cases to it.

- issue: Error was raised on accessing an undefined
  data_store value from a WebsocketRails controller before
  any use of the data_store object