initialize and test