cleaning api and pages tests