TracDiff: added unit-tests and fixed a bug discovered while creating those unit-tests :)
Authored by: cboos 2005-07-06
Parent: [r1914]
Child: [r1916]