def METHOD_NAME(test_path):
    TEST_STR = b"Hello World"
    with open_new_securely_permissioned_file(test_path, "wb") as f:
        f.write(TEST_STR)
    with open(test_path, "rb") as f:
        assert f.read() == TEST_STR