Updated instance creation with use of ResourceConstructor so the unit test that checks for Capitalized constructor name passes
Added unit test that checks to see if resource is instantiated with correct constructor and thus has correct prototype chain