Add Multi-thread/slave test program
patch multi-slave test