add test for frozen object