Working copy (final)

with test data and expected results