Added typeof in param test