add new assertion for element attributes