synced readme example with test