Improving the filters in ApiConsistencyTest
Additionally fixing some debugger displays.