added integration tests for paging and tracing

move the declaration of this method outside of current method's scope. These don't work like Python's function declarations and end up being defined on the eigenclass of this instance, which can be confusing