add test metrics.coffee