deloyment stuff and some model tests