some updates to test generator to better support migrating SpecFlow tests