added some more tests to test defining methods on objects and calling methods