Added test on overriding in value()