fixed bugs in message, and improved backend and message tests