Allow custom timeouts for waitForMessage
Test to include pending changes in index

Refs #50
Including pending change info in index response

fixes #50