Cxx11 tests

Adds a bunch of tests for C++11 capability.