Update haxelib.json
New test
Renamed pool functions for consistency