Fix minitests