I'm somewhat hesitant whether to answer here, since it is not clear what you did. But it seems like you did not perform the operations you think you performed. It sounds like rather than restoring the backup to TestDatabase, you overwrote the existing production database. I hope that was a fresh backup!
The reason that the database is now in the restoring state is presumably because you ran RESTORE with the NORECOVERY option. You need this option when you want to apply log backups to the full backup.
And since there is talk of a tail-of-the-log backup, I think that this is what you want. You need to locate that file and apply it with this command:
RESTORE LOG ProductionDatabase FROM DISK = 'C:\temp\logbackup.bak' WITH RECOVERY
SQL Server will give you an error message if the log file does not fit with the current state of the database.
Generally, if you want a test version of a production database, you would never restore that copy on the production server for multiple reasons. One is that your playing around in the test database should steal load from the production workload. But also very important is that this invites to accidents, as happened here. It is also bigger risk that you think that you are running something in the test database when you in fact are in production.