add test for initialization