[core] Fix routing test to use not_found callback