Fix test: increment port when adding agents
Add test for agent deletion on same URL