Minor tweaks to tests
Fix flattening of params
Bump version