Fixes bug where Titler was unable to get the correct page title in some circumstances
Adds test case for above bug, removes old test cases