use Object.create to set up inheritance. finish tests copied from Objs