update comment controller test to use xhr