Unit tests for the MasterLookup

The headline says it all. :wink: