Tests for key incrementation