Added support for assert in integration tests
Added integrationtests for ChatManager
Removed a debug line in javascript chat.