Add testing for executing functions with multiprocessing