Increase unit test coverage of appc-metric module