fixing controller test + routes