test: Unit test for ResourceSet.err()