added cpu reset to cpu device mock