Refactored long-running helper functions out of test into long.js, added interval-over-interval verification of stats