demonstrate how to test direcitve call method in controller.