Implemented consistence tests