Disable c++11 in test build
Fix initialisation order
Add missing return