Removed unused line
Removed unused lines + imports
Compressed unpinning announcements
Added a test for unpinning announcements from the homepage