Added a link to bug
Check some params are not nil
Serialization test small fixes