Added specs that assert when parameter is optional with type,
passing in nil returns 400