Remove const in tests to fix warnings.