mongodb java test with pool