Add more tests for room.js