Add some tests for the initialization functions