Lint tests on build using their .eslintrc file (fixes #764)

It seems not so hard to make all current tests to pass eslint by almost default settings. I suppose it worth to make linting test files mandatory on build.