added a controller test