test fixes for admin