Rewrite for yeoman-generator 0.17.x

Should you validate test-framework value is actually compatible?