tests now passing for endorsing views using ajax