Updated core.constant unit tests