Added test statements and adjusted cacheSolve