A PHP extension to assist with unit tests involving file uploads