test the common fragment code