added specs for ajax success