Test helpers

This adds a couple of nice test helpers for resource kit classes.