Added tests for translate()
Made poly.translate() and poly.transform() throw instead of creating broken polys