add init method tests