CasperJS is a navigation scripting & testing utility for PhantomJS, written in Javascript
"A library for automatic detection of layout bugs in web pages"
"A fully automated, active web application security reconnaissance tool."
list of tools for testing websites and web-applications