Adding tests for init