Add test for catching EntityIdParsingExceptions