Added Test case for function and first test case from case studies (pairs)