Tests for build model