Add test case for local variable 'context' referenced before assignment
Add test case for local variable 'context' referenced before assignment

Bug reported at #374.

softwaresaved/fat,softwaresaved/fat,softwaresaved/fat,softwaresaved/fat