added chrome tests and implemented loading pdf
adds next page functionality