Add error test cases for errors in Context Processing Algorithm.