tests: polygon base class tests