Update SourceTest.php

Memory is allocated for each new string unless it is defined once as a constant. It also allows for quick change of the value of the string and ensures that we are testing for the same string in unit tests.