Add test case for *_boundaries functions