Pulled out IMG src stuff into another helper method
Added test for new helper