Fix article upload unit tests