unit tests pass for v-on refactor