Added some missing test dependencies and hopefully fixed a race condition.
How would you like a license?