Clean up PooledDataArray convert methods and add tests