modified selenium tests