Tests integrity