modify test, add condition test