Added jscs and directive tests