Add unit tests for new pruneEmpties behaviour