test the freeze command