itest: fix result of string compares