test that img tag has 'style