Add tests for initializer blueprint.

Fixes #1924.