TST: Test new add_constant behavior.