test: fix errors picked by GCC 4.9 - implicitly using constructor marked
as explicit
test: fix errors picked by GCC 4.9 - use of incomplete type
std::reference_wrapper<>