fix delete test and refactoring on page objects