created some unit tests and created PositionGroup constructor for getTransformedCoords' result