updated test.R and graph.R in Package DESCRIPTION