allow for `expect(x !==f NULL)`, closes gh-31

check that it frees