ticket:6 tests for ajax request