Split tests for function mocks about each case