Refactor test setup

  * Clear out and registered metrics
  * Disable HTTP listener