Fixed namespace setting in test.cpp