Builds out kd.tick and adds some test code.