Implemented __call__ method. Test now passes.