adding tests: testEdge, testEdgeBlankId, testEdgeInvalidId
use constants for status codes