added test with custom elements