improved impl. of min indexed pq and started an inital (so far very very very small) unittest