Shrinking database files is never a good idea. Read this article about alternative method on removing free space from the files: http://www.sqlskills.com/blogs/paul/why-you-should-not-shrink-your-data-files/.
In rare occasion when you decide to do this make sure you run DBCC CHECKDB after shrinking the file. You may encounter allocation errors:
CHECKDB found 1 allocation errors and 0 consistency errors in database…
Some of these errors could be fixed by running table or index rebuild command:
ALTER TABLE dbo.Test_1 REBUILD;