Added Function test