Added more tests
Fixed a few tests and implemented page iterator