Gridpart bugfixes and cleanup.
This MR fixes an issue with possibly dangling references inside AdaptiveLeafIndexSet and merges the gridpart tests into a single header.
Edited by Robert K
This MR fixes an issue with possibly dangling references inside AdaptiveLeafIndexSet and merges the gridpart tests into a single header.