Add controller test with mocked backend