Fixed is_callable function of view test mixin