data integrity tests