created a branch to illustrate the problem: https://github.com/mgurov/cucumber-jvm/commit/effb7d43fd8761ba9dd6c921a8e3c10c13f5c390