added tests for deckManager