Adding function2
Adding function3 tests.