Add coverage for init function.