Consistency command

Extended functionality of the consistency command and added another unit test.