Add some test logic around mediacrush.js