Added configuration test and moved general test to metric_handler_test.