Unit test for ConstantModel and allow to retrieve contextual value of magic constants