Added testPatchMapRaisesError to ListPatcherTest

Also removed an unreachable line in ListPatcher

Change-Id: I49e99e31b478206148bdbe1689e36ba2098be333
Merge "Added testPatchMapRaisesError to ListPatcherTest"