Moved some existing tests to rspec.

copied old test which are not implemented yet into the same file.