Very basic test for the resource criteria method.