Fix erb test for img