Fixed metric configuration controller tests.

Signed off by: Diego Araújo <diegoamc90@gmail.com>