Added tests to ensure the working oh te AppendEntry functionality