added guard support which is currently failing on cucumber due to
minitest