some tests for config
fix bug with metering