unit tests for PositionController added