[feature/nestedsets] Add return values and test them in tests