map and graph test