Add tests for empty main/delta