Add attributes tests, get edges working