Add tests for room history