fix constant tests