test with dom