test only in debug mode and logged as admin