Add tests for several picture functions