use assert_match to avoid attribute order problems