refs #29 add spec of controller