fixed problems with retrocompatibility tests and example