some unit tests for deckPreloader.js