WIP: converting unit tests to use asynchronousFirstOrDefault:success:error:.
WIP: only parent / children memory management test left.
Fixed the last test.
Merge branch 'refactor-unit-tests'