edge selection unit tests