zap test for require_resource_admin since it's dead now
bring back middleware tests