removed redundant test for mock ajax call (all the calls are mocked), added test for external dependencies