Add new fail-fast input checking. Add tests for input checking.