Add resource type test.

Allows combining file tests with URL validation.
0.8.103