Move assertions into test.js from mb-server.js