spec validation of slug