Fix mod tests