Revert "constinfo for unittest too"