add namespace calls to test code