Test the `init` method properly

This adds proper tests for the `init` method and doesn't require
bringing it in the `test/helper`.