Feature/setup protractor for testing

@bajtos 

Fixes #396
What is the purpose of this commented-out code? Can you remove it?