[Olena-patches] milena r3374: Add unit test for n_max.hh