some refactoring in tests
add room message processing