Started adding tests, tweak PageRange class.