Added code coverage and tests for StepDefinitionGenerator