Add Fuction Tests