Corrects attachment test for display.

Fixes failing test that was identified by Travis in build [34276459](https://travis-ci.org/LearningLocker/learninglocker/builds/34276459).