adding polyglot test for infinity in python driver
fixing js driver for the http api