mem - added edge test