added mocha tests for the server
added one more test
added devmode to lobby