Test Library for func like jQuery