Integrated circuit having configurable cells and a secured test mode