ticket:6 fix typo in test
ticket:6 add ajax handling in view