fixed/updated RandomFunTester