Typos.
Adds regression test for replace across bucket border.
Removes var_dumps.