Tests for method inits().