optimize mytest