merge function cucumber tests