polygon creation tests