added virtual destructor
changed enThreadPool to templated class
changed enThreadPool test case due to change in enThreadPool template