add constant and its test