implement simple unit tests, hook up travis, add getMetrics to statstorage