Unit test to demonstrate the failure explained above that can occur when multiple threads call the append method.