finished model and test