add a test for the customformat feature (this test do not pass cause it reveal a bug)