Using a test nipple until installing the tile is the right way to go.
Normally, there is a little give with a threaded nipple. You may need to go tighter to get it closer to the wall, or not so tight if it's pulling in too soon.