Added tests for initialization