Refactor tests to allow easier testing of claims requests.

It is needed to properly test doing specific claim checks on the LMS.