fix test_get_pending_suggestions