test problem detection in both directions