Functionality test. Querying a #document attached by Ajax is turning out to be pain.