fixed tests and url in view