Fixed link paths on agent side and updated tests