fixing controller/tests