refactor homepage.js test to EV local project