working with graph refinemane and sequencetest