Fixing admin tests i.e. fixing changed functionality because of #1114