A uniform API for writing tests against both server objects and remote servers