C++ Test-Library with Lambdas