Added missing call to CreateType. Added test for CreateAssembly()