Add more polygon() tests for HTML