Added error handling to normalizer route and a test case for it.
Added error handling for lab 6 and test case.