Adding unit test for metric feature config