[PATCH] Add test cases for __context__ statement and context attribute