#419 - Added unit test for optional title fix

Added a unit test that includes an image with an optional title defined
as well as an image without.