Added test case for homework and duplicate entity exception mapper.