Function test to verify overwriting funciton arguments