Added switch edge test