proper handling of parameters in sri, add sereal tests