added nested objects test
first function test and function implementation
added TODO for functions (and arrays too) that can be containers like objects
added complex tests for object references