Removed second toLowerCase
Added conditional slugifying
Added Tests and Cosmetics