Add example test for compliance with reference diff implementation.