rpearce: Improve integration test, add case for master mongo.

  * Fix regex for non-masters
  * Check more data points in integration test