improve examples in tests