Made the TestChatRoomDatabase file and fixed ChatRoomDatabase