fixing logninv test