Some tests for .bag.