Fixed the mk.tests file

Fixed some small bugs like not waiting between functions and little
typos