fix wrong tests
Api calls fail due to NULL knet handle, but intention is to fail due to wrong arguments.