Set defaults for karma server
Fix protractor
tristate test and initial impl