Unittested center_on_x.