Seperate fixed/random test code