Test script for model