Fix insert tests