added nightwatch tests