Added a deck test and updated comments