Added test for directModelSubstitute(..)