Fix test by using constants