Adding test case for uncovered code.