Added mock tests to improve coverage