fixed up tests to used karma on client and jasmine-node on server