Added test for init command