Test cases for replace-neighoburs
Incomplete multi-collapse
Test loop function