You need to use the :first
selector to say that you only want to add text to the first element the selector finds. Try this:
$j('span.test:first').text('Welcome');
Example fiddle
Alternatively, you can use the id
of the parent div to make the selector unique:
$j('#first .test').text('Welcome');