controller test,routes test, and check proximity function