repo model test