Star substitution test case
Implemented star substitution