Fix test with Elixir (0.10.1)

Signed-off-by: chatgris <jboyer@af83.com>
Simpler Pattern Matching

Signed-off-by: chatgris <jboyer@af83.com>