A study of the Boltzmann and Gibbs entropies in the context of a stochastic toy model