Updated consistency command, added unit tests for consistency.