Added transChoice
Added first tests