Minor fix and couple more ajax tests