removed superfluous emit from server.js test

Small fix. Thanks for pointing it out.