Added Tests for the ConstantFunction