Add test for lsof checks