add testing, fix joker rules