Remove testing `raise` statement.
Merge pull request #1014 from Cadair/image_alignment

Remove testing `raise` statement.