Add tests for picture pattern