Fix metadata in tests and examples