small iOS memory tests for images