Unexported command constants and added SetTestMode method.