Ajs controller and view, test.