Add unit test of collapse module !