Added test dynamic test data and test for model