Added graphs controller spec test