canonical sign

Ronan, does this solve the failing test problem?