Used for running CLI tests only