Fixed method init
Fixed test for init method