move test cases into corresponding functions
move test cases into corresponding functions

square/metrics,square/metrics,postfix/metrics,square/metrics,jmptrader/metrics,jmptrader/metrics,jmptrader/metrics,jmptrader/metrics,postfix/metrics,square/metrics,square/metrics,postfix/metrics,postfix/metrics