Updated test to account for _function element that is added to the step definitions map