fixed the inheritance using Object.create() test