Fixed annotation detection and data processor test case.
Fixed test fail where a context is not set throwing exceptions.