testsuite: Fix validation of ways

Authored by bgamari on Sep 4 2017, 6:58 AM.