$shortfn() returns what you pass it if the file doesn't exist. You're better off using quotes.

Code:
writeini " $+ $scriptdirtestfile.ini" ...