Added eslint checks on the tests as well and cleaned up that code