Add unit test about class constants.