Add some functions to FunctionObject.ds

Test cases added.