fixed tests for init
fix more tests