Added test to trim the parameters passed to Parse