Add unit test.
Add bower support.