update Constants class and add test function to Logit.test