unit test pass for v-on refactor