Fix unit tests

* fix reassignment in params.pp (it was a typo)
* delete useless param in swift rspec