Added a test case for unsetting slugs (and fixed related bug)