Add default constructor support for C++11 and tests.