Fix wear color, and add test.
Merge pull request #48 from PencilCode/fixwear

Fix wear color, and add test.