casperjs functional tests added