    @Test
    public void testLoadedModel()
    {

        final List<String> values = new ArrayList();        
        IModel model = Shortcuts.loadedModel(new TestBean(values), "load");
        
        List<String> loaded = (List<String>) model.getObject();
        Assert.assertTrue(loaded == values);
        Assert.assertTrue(loaded.size() == 1);
        
        loaded = (List<String>) model.getObject();
        Assert.assertTrue(loaded == values);
        Assert.assertTrue(loaded.size() == 1);
        
        model.detach();
        loaded = (List<String>) model.getObject();
        Assert.assertTrue(loaded == values);
        Assert.assertTrue(loaded.size() == 2);        
    }