fixed bug w/ deck creation, added test