* test compile fix
better support for param generation for optional params. 
Also if one optional is encountered the rest following it will also be
optional.