Would be more readable if this class is defined outside this test method