Add test imported from croupier-rb