Remove random test code