Test for callback types. Add function as wrongtype.

For looped tests that are testing lots of types, function was
missing.
Allow object of options to go to prompt creation.

This breaks past code that gave `name` and `message` as
separate parameters.