Added test for __call functionality