moved code from fromNSDictionary to JPWPlayingCard to make it DRY. refactored some tests.