Added test functions for init.