Fix test, variable k gives different (correct) result.