fixed compilation errors in unit tests

Resolves-bug: https://github.com/sebhtml/ray/issues/151
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>