fix(test): fixed toThrow usage