Unit tests for an ajax call responses - init