fix send_message with context separation

Change-Id: I436c20b15dd254116a12b8a8f12270f3b877638f
fix indentation
add tests on anylist._send_message