wrote testFindCondition for Table class