Adding markmonitor to tests