Added functions tests
Updated functions tests
Updated functions tests