init and test