Added test for existing adapter namespace and empty admin namespace not adding trailing slash.