Added overwriting tests.