#527: Factor out mock server to a separate module

Also adding ability to comment out tests in the test list.