There have been quite extensive tests for normalization and canonicalization, which are currently both in the PHP world as well as JavaScript world.
These should be turned into a single set of tests, which would live in function-schemata.
Note that this is different from the test suite for evaluation engines.