Fix timeouts in couch epi tests

Sleeps there not enough when run in a contrained test environment

Adjust timeouts to let tests pass even when setting CPU usage limit down to
1% in my VirtualBox VM.

Also switch to using macro defines to make it look slightly cleaner.

Fixes #731
1 file changed