Add tests for image pattern with alpha