Jotne and elixir_sinari both seem to have missed that jothi basu asked not only for a "1" to be added but also for "T" to be changed to "t". And since "Test" always appears at the start of lines to be changed and only appears once, a simpler fix for the given data is:
sed 's/^Test/test1/' file
Of course, if the sample data is not representative, and "Test" actually does appear more than once in some lines or does not always appear at the start of a line, then the more complex scripts shown by others (with code to exclude comment lines) will be needed (with added changes to convert "T" to "t").