Add test for bitset/mask type.
am: e7ce822b96

Change-Id: I178f54900b0a80bc44ca146380ab68ae7cf9f0cf