Refactored tests for even more readability
Fixed bug in cleanup task when there's fewer than 5 releases