incorporate integrity tests into testing