add test for message model and remove unused api for room model refs #77