fix edit mode
move onBeforeEnter code to beforeEnter
test changes
tests, logs, errors
chaining should work
add non working test