Add unit test covering all existing methods of the Polygon class

Take a look, the tests should be pretty self explanatory since the Polygon class is so simple :+1: