init method tested