Updated format of error string in check_population

The old format called an object _ids on ProductTest::Class, which didn't appear to exist, and so broke the method. This new format appears to work better.