Add tests to cover new Ajax and Coffee Script handling