refactor test constant