test init functions