Add tests for functions using C++11 return value syntax.