Add test for lab task pending status