Add tests for new bitflags traits