[fix] tests and examples fixed