Added tests for init