(PUP-2906) Add test for nonexistent resources
To ensure that the fail method is called properly in the
CollectorTransformer's evaluate method, add a test with a manifest
containing a resource type that does not exist.
Additionally do a few small code and comment cleanups.