tests & insert