More element tests, helper functions