support testing on the master database
changed wait time for ticket expiration to stablize tests