Added c++11 compiler option and attributes test case.