Some more get_word_frequency_page detail.
Faster unit testing, slightly
Added unit tests for getpatterns