Added Functional Tests Using CasperJS and PhantomJS