Added another test for init function