Adds eslint test to make testing easier and dry

Testing is currently very verbose and repetitive. I plan on rewriting all the tests to use this module which makes testing concise.