Valentino Rossi remained on top on the final day of MotoGP's first preseason test at Sepang.