Merge "Added Mock function call tests"