fix(tests): crash dumps on OSX