Adding integrity test