Generate tests for 'resource' generator as well