Created MockServer class to facilitate outside-in unit testing