add test for first expectedcondition