changed demo test to include soft - hard assertions