Bugfix/nested data

Handling notifications of nested data differently. Writing new tests.