Test case for #27

I added the lines of interest to test.js, i dont know why it doesn't work still. The source gets changed, and it does not generate a link. It turns into an "Unknown status image" and has an extra "[" bracket before the image.