More unit tests, change in setParam

* the setParameter used to return the previous value but that was change. The reason is that if you ever use this library to implement a distributed sip container you would have to pay the price of serializing the return value of setParameter even though most people don't care about the previous value. If you want the previous you simply have to do a getParameter first.
* More unit tests.