add delegate test code
add ajax module and it's test code