Finish random_k test.