Make mocking of system call easy