fix application controller test
add route edit