Fixed ui tests.

Pagination footer now is an layout id to be inflated.