Add test for media gen model