supports test with random models