adding rect batch unit test

BUG=skia:

Review URL: https://codereview.chromium.org/1135513002
1 file changed