Minor clean up.
First logger test in tests.py.
Added logger to  pagefetch tests.
Merge.