this test isn't thread safe...