Testing data insertion correctness