Add test_sample_map for networkx
Undo networkx on master