allow :type parameter on group param keyword - closes #605

Test and fix for #605