Merged the general stuff from Object into ScriptObject, and moved the test stuff from Object to FooObject