Jasmine tests for item id and slug saving.