moved auth tests to a new file
added socket auth test stubs
replaced socket mock with an event emitter