[test] Add tests for car and cdr variants
Merge pull request #91 from abeaumont/master

[test] Add tests for car and cdr variants