Correct mtaper test code