Begin kr and a unit test