Simplify and unify test cases

I implement a lot of convenience functions to easy programming
functional test cases.  These functions include features such as
checking titles, clicking items and action buttons in a content table,
or submitting or canceling forms.  Then I apply these new functions to
all previously written test cases.