Add CasperJS tests for the contentdetails and contentshared widgets