Update tests
Use addCondition instead compare, it more stable