Add tests for symbol file name generation

Fix #732.
What about adding `.fsi` suffix once at the end of this function (and change `tempFileName` to just `tmp`)?
Pattern `|> Option.getOrElse tempFileName` is duplicated 4 times. Maybe move it at the end of this big match?