Add unit test for const