Fix tests

I broke the build through the metric score retrieval refactoring. I
adjusted the tests to the new interface.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>