added getHistory method to adhere to the NodeJS equivalent
+ added visibility modifiers to methods
+ started simple test framework (+travis config)