Moved realtime tests into appropriate files

Moved code that modifies collection into collection tests, and client side only view tests into specific client test.
Stop spying on a method that doesn't exist