init model and make tests