Optimized parseResponse(). Some tests updates.