Putting back the k and j into the tests