Added a spec which tests the installation of resources in case of a Pod without sourcefiles.

See also #2918