Fix test prerequisites