rename method getPositionInPrefix to getCurrentPositioninPrefix (class
Pointer) + add missing test for PointerFactory.