Add a basic img test.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/732763002