Added Object unit tests and fixed Object.getClassOf()