libkmstest: add FAIL_IF()