Added Jest testing framework and first test.

Affects #3.