Add trim_param test
Make tests a wee bit simpler
Allow one to set global defaults