Worked on function stub and test case.