Fixed title construction in EPArticle and added regression test

You know that code is bad when you need to write more test code
then the code being tested to make a simple assertion :)

This fixes bug 48223

Change-Id: I13338cbd9674602462570a0aeac396128018c9e2
Merge "Fixed title construction in EPArticle and added regression test"