Python 2 - mock & unittest example for Popen