Added tests for get_message