Then /^(?:the )?(?:feature "([^"]*)" )?test(?: "([^"]*)")? is found to have the following applied tags:$/ do |file, test, expected_tags|
  file ||= 1
  test ||= 1

  expected_tags = expected_tags.raw.flatten