fixed bug in admin feature test