adding tests for 3 levels of nested objects