add initialize method tests