Modular testing of website elements