added unit test for create_deck function