model tests and ci script