store_lookup_test: Added various tests for metrics.
integration tests: Added simple tests for service and metric queries.

To make that work, let the mock_plugin store some metrics as well.