Lazy, undefine constant for test mode. Should refactor this later.