Add tests for slug