Got rid of MWException in Claims and improved its tests

Change-Id: Ie53aa8a666e3bc6cf5bdfa016af60cf6f479034c
Merge "Got rid of MWException in Claims and improved its tests"