Mock system(), exec(), and qx() for testing
