Snow Leopard: Fix write_current_test