Add a test for constants