Added spec for controller