Fix/use pagesize in tests

consistently use gojit.PageSize in tests and code.