Add test log steps to page functions

Each function states what the purpose is, so that the developer
can immediately see where the test was at the time of failure.