Test locally or remotely with dynamic base class