fix for new version of unittest library (can't do async tests).