Added setup and function stubs to test cases.