refactor prefix_nr for new test suite layout