Fixed compilation of unit tests.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>