test model functional model