Use constant in test