added tests and utility methods for validating types when registering components, prefabs, scenes and plugins