Incorporate several functional tests for page_swap and page_swap_history.
page_swap
page_swap_history
Related to #3589645