Added test for constants.