Add namespace to tests and logout