ENH: unit test for gabriel