misc: fix tests, fix typos (paramters)