Fix wrong view url in test