Tests for random model attributes