Fix #2

Fix the problem where files panel doesn't refresh.
First steps towards TDD

I’ve decided to use mocha for testing after a long search. Since this
is my very fist TDD project, I picked the testing framework that seems
easier to use.

For now, just a dummy test case.