Testing JavaScript frameworks