Add test for setting 1-bit struct.