Hopefully fix ajax tests