debug options added for unit tests (disabled by default)