More integration tests for NDatabase.