Refactor landing page test