[tools/parallel_function] add unittest to check return of method ``use_in``