convert plack test to use server subclass