Dileep/DC | #2952 | Adding constraints in test