Improve constants test