added test polygon method
added test polygon method