Add test for merging boolean values

Related to #2.