Added tests for Init#_writeProject