update build.xml, add test getPoolAsList in test.java

I updated the build file (my error of finding .java instead of class)
Added test getPoolAsList in the test file