Adding detect edges to web and moar unit tests