Created unittests for deck