implment test_title_memes and some refactoring in testweb