[core] value function: test with several casing