test model works