Repaired some tests. Added two utilities to show prefixes