Fixes based on conversations with Logan.

Sorting the list of template file names to prevent failing tests if template files are read in a different order.
Added a test to validate that we can still load a sub-assembly by itself.