inject error and unit test additions for HEAD/timestamp work