split testscript into models and views