Bug 827126 - Add a test to ensure that we reflect img.align correctly; r=peterv