added graph test