add tests for prune-operations