Added pool stats and JUnit