Add resource tests for configs that are the same.

Verifies that two "sw" resources with the same size will not
incorrectly identify one as better than the other.

Change-Id: Ifd9a4341cc676e54b67e40914070c435071d39b9
8 files changed