Testing api responses