Added test for getting messages after last_message