Analysis And Testing Of Ajax-Based Single-Page Web Applications