Added instance stats to tabs with tests.  Added email unit tests.