Added tests for slug