Added polygon test.