testing new LocPair class