Use smarter env variable for using CDN; update app_test_tasks.rake