refactor cart-empty.js test for EV local project