Test cases for leaf collapse complete; implemention still WIP