Added first Jest test (including Jest setup)

We really need JavaScript tests for this component, and Jest was the first toolkit that came to mind. I'll also try to workout a pull request for at least one other tool (maybe karma), so we can compare the pro's and con's.
It's not a sleep, it's the period within we expect the method to return true.