Infrastructure tests

Better use `datacenter.getEditLink().getType()`.