Feature/setup protractor for testing

@bajtos 

Fixes #396
See my comment above, it would be better to use mocha and chai instead.