validation: add a test for the recent function compare changes