Fix attachment mime unit tests
Review Request #7651 — Created Sept. 20, 2015 and submitted
The attachment upload form constructor changed in 2.5.x and a merge
from 2.0.x broke some unit tests. This patch corrects the constructor
usage in these tests and they now pass.
Unit tests pass