Fix listDocument Unit test