Stricter check for async tests

Before, a solution with no asynchronous execution at all could
pass the test.