Adds tests for new, SQL-based expansion delete.