Fixed polymorphism thing. Currently under 'random' test, measureAccuracy is run twice