Fixed broken template test and removed ajax test from controller