Added an add post page object and refactored functional tests.