HSEARCH-1271 Creating test case
HSEARCH-1271 Adding toString implementations for easier debugging
HSEARCH-1271 Removing stale code. Cleanup.
HSEARCH-1271 Don't process contained in, if the entity in PerEntityWork is null.