Test that initializer works