tests for init.