Redmine#6179: add combined acceptance test for if and unless