add stub for tests with ajax request