fix bug in test, for more tolerant