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.

Also removed some unused functions - no need to log those,
removes some minor duplicated code and fixes editor page
column query.