Test that setting and getting display: flex and inline-flex works as expected