Added first iteration of the init function and its test