Add test for resource override of multiple resources.

This test was missing (e.g. for File['x', 'y'] ...)
Add test for transformation of resource expression and collection.

This also improves the AstTransformer and AstTreeDumper