Fix one failing test (assertEquals now checking type); adding in assert/refute where required (buster upgrade problem); fixing a couple of jshint mixed tabs and spaces errors; fixing jshint unused variable error