looks like the contain test also works for self defines resources