Moved TestBase class to play nicer with nodeunit and WebStorm