Removed unsafe IO operations from testing.