Added integrity test