Add stub test for NewMetrics panic
Merge pull request #54 from xla/newmetrics-panic

NewMetrics panics if it receives an empty slice of results